package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;
/** 
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-08-02 15:07:38 
 */
@Entity
@Table ( name ="sy_course_class" )
public class SyCourseClass  implements Serializable {

	private static final long serialVersionUID =  8098256508383950012L;

	/**
	 * 主键id
	 */
	@Id
   	@Column(name = "id" )
	private Long id;

	/**
	 * 分类名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 状态（2正常，3禁用）
	 */
   	@Column(name = "type" )
	private Long type;

	/**
	 * 排序
	 */
   	@Column(name = "sort" )
	private Long sort;

	/**
	 * 上级分类id（0为最高，1为二级分类）
	 */
   	@Column(name = "parent_id" )
	private Long parentId;

	/**
	 * 创建人
	 */
   	@Column(name = "create_id" )
	private Long createId;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private Date createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_id" )
	private Long updateId;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private Date updateDate;

	/**
	 * 备注
	 */
   	@Column(name = "remarks" )
	private String remarks;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Long getType() {
    return type;
  }

  public void setType(Long type) {
    this.type = type;
  }


  public Long getSort() {
    return sort;
  }

  public void setSort(Long sort) {
    this.sort = sort;
  }


  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }


  public Long getCreateId() {
    return createId;
  }

  public void setCreateId(Long createId) {
    this.createId = createId;
  }


  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }


  public Long getUpdateId() {
    return updateId;
  }

  public void setUpdateId(Long updateId) {
    this.updateId = updateId;
  }


  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }


  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

}
